home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
GNUUCP_2
/
SOURCE
/
UUXQT_MA.C
< prev
next >
Wrap
C/C++ Source or Header
|
1989-08-14
|
722b
|
38 lines
/* uuxqt.c: Lol Grant. 23rd. Sept 1987.
read uucp C.<hostname>XXXXX files and execute the
commands in them.
*/
#include "includes.h"
#include "uucp.h"
#include "rmail_proto.h"
#define RMAIL
main(argc, argv)
int argc;
char **argv;
{
int i;
char command[60], addressee[60], input[60], output[60], line[132];
char file[NAMESIZE];
char *xfile;
char tmp_str[255];
FILE *fd;
int pid, status;
for (i = 1; i < argc; i++) {
if (argv[i][0] != '-')
break;
switch (argv[i][1]) {
default:
printf("uuxqt: unknown flag ignored\n");
case 'x':
debug = atoi(&argv[i][2]);
printf("uuxqt: debug level set to %d\n", debug);
break;
return(uuxqut(argv, argc));
}